package cn.hxzy.teacher.mapper;


import cn.hxzy.common.domain.Examination;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface SysExamResultMapper {
    @Select("select * from sys_examination where examination_teacher_id=#{id} order by create_time desc limit #{ye},#{pageSize}")
    List<Examination> selecttid(Integer ye, Integer pageSize, Integer id);


    @Select("select count(*) from sys_examination where examination_teacher_id=#{id}")
    Integer selectzong(Integer id);
}
